import {BaseEntity,Column,Entity,Index,JoinColumn,JoinTable,ManyToMany,ManyToOne,OneToMany,OneToOne,PrimaryColumn,PrimaryGeneratedColumn,RelationId} from "typeorm";


@Entity("mall_goods_issue",{schema:"nest-mall" } )
export class MallGoodsIssue {

    @PrimaryGeneratedColumn({
        type:"int", 
        name:"id"
        })
    id:number;
        

    @Column("varchar",{ 
        nullable:true,
        length:500,
        name:"question"
        })
    question:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:100,
        name:"answer"
        })
    answer:string | null;
        
}
